package p270jp.pxv.android.legacy.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import java.util.Objects;
import p105df.ViewHolderStampListItemBinding;
import p270jp.pxv.android.R;
import p325m0.MutabilityOwnership;

/* compiled from: AddButton.kt */
/* renamed from: jp.pxv.android.legacy.view.AddButton */
/* loaded from: classes2.dex */
public final class AddButton extends RelativeLayout {

    /* renamed from: a */
    public final ViewHolderStampListItemBinding f19096a;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public AddButton(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
        MutabilityOwnership.m3745m(context, "context");
        MutabilityOwnership.m3745m(attributeSet, "attributeSet");
        View inflate = LayoutInflater.from(getContext()).inflate(R.layout.view_add_button, (ViewGroup) this, false);
        addView(inflate);
        Objects.requireNonNull(inflate, "rootView");
        ImageView imageView = (ImageView) inflate;
        this.f19096a = new ViewHolderStampListItemBinding(imageView, imageView, 1);
    }

    /* renamed from: a */
    public final void m4599a() {
        setEnabled(false);
        ((ImageView) this.f19096a.f12248c).setEnabled(false);
    }
}
